export const updateRoute = () => {
  return {
    id: '01da3df6-48d6-11e9-9b2a-d8c49792dd7b',
    routeId: 'log-server-api',
    uri: 'lb://log-server',
    predicates: '["Path=/api/log/**"]',
    filters:
      '["StripPrefix=1",{"name":"Hystrix","args":{"name":"GateWayHystrix","fallbackUri":"forward:/hystrixhandle"}}]',
    orderNum: 0,
    enabled: true,
    remarks: '日志服务接口'
  }
}
export const deleteRoute = () => {
  return {
    message: '删除成功'
  }
}
export const queryRoute = () => {
  return {
    content: [
      {
        id: '01da3df6-48d6-11e9-9b2a-d8c49792dd7b',
        routeId: 'log-server-api',
        uri: 'lb://log-server',
        predicates: '["Path=/api/log/**"]',
        filters:
          '["StripPrefix=1",{"name":"Hystrix","args":{"name":"GateWayHystrix","fallbackUri":"forward:/hystrixhandle"}}]',
        orderNum: 0,
        enabled: true,
        remarks: '日志服务接口'
      }
    ],
    page: {
      size : 10,
      number : 0,
      totalElements : 3,
      totalPages : 1
    }
  }
}
export const refreshRoute = () => {
  return {
    message: '刷新路由缓存成功，稍后网关将刷新路由配置信息'
  }
}
